<?php switch($content_type){
case 'w_iw': ?>
<dl>
    <dd class="cp-header">
        <?php echo $text_issue_warning_intro; ?>
    </dd>
    <form name="warning-form" action="" method="post">
    <dd class="cp-content">
        <ul>
            <li>
                <span class="warning-span"><?php echo $entry_select_username; ?></span>
                <textarea class="warning-text" name="warning-usernames"><?php echo $warning_usernames; ?></textarea>
            </li>
            <li>
                <span class="warning-span"><?php echo $entry_warning_details; ?></span>
                <textarea class="warning-text" name="warning-details"><?php echo $warning_details; ?></textarea>
            </li>
            <?php if($error_warning){ ?>
            <span class="inline_error"><?php echo $error_warning; ?></span>
            <?php } ?>
            <li class="center-up"><input class="input-buttons" type="submit" name="submit" value="<?php echo $button_submit; ?>" onclick="{if(confirm('<?php echo $text_confirm_submit; ?>')){this.document.warning-form.submit();return true;}return false;}"/></li>
        </ul>
    </dd>
    </form>
</dl>
<?php break; ?>
<?php case 'w_wl': ?>
<dl>
    <dd class="cp-header">
        <?php echo $text_warning_list_intro; ?>
    </dd>
    <dd class="cp-content">
        <?php if(!$warnigs){ ?>
        <dl>
            <dd><?php echo $text_no_warnings; ?></dd>
        </dl>
        <?php }else{ ?>
        <dl class="cp-list-heading">
            <dd class="cp-list-heading-first cp-list-first-unindent2"><?php echo $text_heading_username; ?></dd>
            <dd class="cp-list-heading-second cp-list-second-expand2"><?php echo $text_heading_latest_warning; ?></dd>
            <dd class="cp-list-heading-third"><?php echo $text_heading_warning_count; ?></dd>
        </dl>
        <?php foreach($warnigs as $warnig){ ?>
        <dl class="cp-list">
            <dd class="cp-list-first cp-list-first-unindent">
                <a href="<?php echo $warnig['user_profile_link']; ?>"><strong><?php echo $warnig['username']; ?></strong></a>
                <br />
            </dd>
            <dd class="cp-list-second cp-list-second-expand">
                <?php echo $warnig['user_last_warning']; ?>
            </dd>
            <dd class="cp-list-third">
                <?php echo $warnig['user_warnings']; ?>
            </dd>
        </dl>
        <?php } ?>
        <?php } ?>
    </dd>
    <div class="forum-pagination"><?php echo $pagination; ?></div>
</dl>
<?php break; ?>
<?php } ?>